//
//  MyInformChangeController.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/3/24.
//  Copyright © 2016年 game. All rights reserved.
//

#import "MyInformChangeController.h"

@interface MyInformChangeController ()
@property (weak, nonatomic) IBOutlet UIView *QqChangeView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *linHight;

@end

@implementation MyInformChangeController

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    
    self.app.myTabBar.tabBar.hidden = YES;
    self.navigationController.navigationBar.hidden = YES;
}
//点击提交
- (IBAction)QqSureClick:(id)sender {
    
    if (!(self.QqTextfile.text.length==0)) {
        
     __weak typeof(self) weakSelf = self;
        if (_QqChangeBlock) {
            _QqChangeBlock(weakSelf.QqTextfile.text);
        }
 
    }
        [self.navigationController popViewControllerAnimated:YES];
}

- (IBAction)backClick:(id)sender {
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.frame = [UIScreen mainScreen].bounds;
    self.linHight.constant = 0.5;
    
    self.naviewTitle.text = self.navText;
    self.QqTextfile.text = self.qqNumber;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
